package com.deng.mail.mailorder.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.deng.common.to.mq.SeckillOrderTo;
import com.deng.common.utils.PageUtils;
import com.deng.mail.mailorder.entity.OrderEntity;

import java.util.Map;

/**
 * 订单
 *
 * @author deng
 * @email deng@gmail.com
 * @date 2022-10-20 21:56:02
 */
public interface OrderService extends IService<OrderEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 创建秒杀单
     * @param orderTo
     */
    void createSeckillOrder(SeckillOrderTo orderTo);
}

